

#include "MessageManager.h"
//
//
//#include "msg/ResAllTasksMessage.h"
//
//#include "msg/ResAllTasksV2Message.h"
//
//#include "msg/ResUpTasksMessage.h"
//
//#include "msg/ResPunishSwapInfosMessage.h"
//
//#include "msg/ResUpTasksV2Message.h"
//
//#include "msg/ResSmeltEquipMessage.h"
//
//#include "msg/ResRankingInfosMessage.h"
//
//#include "msg/ResResultMessage.h"
//
//#include "msg/ResFightStatiMessage.h"
//
//#include "msg/ResOffLineResultMessage.h"
//
//#include "msg/ResShaoDangResultMessage.h"
//
//#include "msg/ResMatchingResultMessage.h"
//
//#include "msg/ResPlayerFightLogMessage.h"
//
//#include "msg/ResAllFightLogMessage.h"
//
//#include "msg/ResYWFightResultMessage.h"
//
//#include "msg/ResMenPaiFightLogMessage.h"
//
//#include "msg/ResWorldBossResultMessage.h"
//
//#include "msg/ResFightBossRateMessage.h"
//
//#include "msg/ResWorldBossInfoMessage.h"
//
//#include "msg/ResWorldBossRankMessage.h"
//
//#include "msg/ResPlayerWulinFightLogMessage.h"
//
//#include "msg/ResTitlesMessage.h"
//
//#include "msg/ResUpTitleMessage.h"
//
//#include "msg/ResWearTitleMessage.h"
//
//#include "msg/ResOtherWerarTitleMessage.h"
//
//#include "msg/ResWearUpMessage.h"
//
//#include "msg/ResActivityTitleMessage.h"
//
//#include "msg/ResOtherPlayerMessage.h"
//
//#include "msg/ResPropUseNumMessage.h"
//
//#include "msg/ResGuaJiSetingMessage.h"
//
//#include "msg/ResUpFirstPlayMessage.h"
//
//#include "msg/ResRefrensTimeMessage.h"
//
//#include "msg/ResPlayerBuffsMessage.h"
//
//#include "msg/ResPassLvGiftMessage.h"
//
//#include "msg/ResServerOpenDayMessage.h"
//
//#include "msg/ResOpenStateMessage.h"
//
//#include "msg/ResOtherStatusMessage.h"
//
//#include "msg/ResYaowangBuffIdsMessage.h"
//
//#include "msg/ResSevenLoginInfoMessage.h"
//
//#include "msg/ResUpStateSkillInfoMessage.h"
//
//#include "msg/ResGetFlagForUserGuideMessage.h"
//
//#include "msg/ResDelTokenMessage.h"
//
//#include "msg/ResPPLoginMessage.h"
//
//#include "msg/ResGetUsernamesOnAccountMessage.h"
//
//#include "msg/ResServerLvMessage.h"
//
//#include "msg/ResPlayerBufsMessage.h"
//
//#include "msg/ResUpBufMessage.h"
//
//#include "msg/ResSellGoodsMessage.h"
//
//#include "msg/ResRefrenseDollarMessage.h"
//
//#include "msg/ResExchangeGoodsMessage.h"
//
//#include "msg/ResMiningMessage.h"
//
//#include "msg/ResYaoWangRankMessage.h"
//
//#include "msg/ResMiningAddresssMessage.h"
//
//#include "msg/ResMiningAddressTimeMessage.h"
//
//#include "msg/ResSoloAreaMessage.h"
//
//#include "msg/ResOnePlayerUpMessage.h"
//
//#include "msg/ResAreaMatchingMessage.h"
//
//#include "msg/ResFirstMenpaiMessage.h"
//
//#include "msg/ResMenPaiMatchingMessage.h"
//
//#include "msg/ResUpAreaFightLogsMessage.h"
//
//#include "msg/ResAreaFightLogsMessage.h"
//
//#include "msg/ResMsgCodeMessage.h"
//
//#include "msg/ResWulinRankMessage.h"
//
//#include "msg/ResWulinFight1Message.h"
//
//#include "msg/ResWulinFight2Message.h"
//
//#include "msg/ResJingMaiInfoMessage.h"
//
//#include "msg/ResNoticeMessage.h"
//
//#include "msg/ResServerListMessage.h"
//
//#include "msg/ResAreaMessage.h"
//
//#include "msg/ResBackpackItemMessage.h"
//
//#include "msg/ResFriendsListMessage.h"
//
//#include "msg/ResAddFriendMessage.h"
//
//#include "msg/ResDelFriendMessage.h"
//
//#include "msg/ResUpApplyMsgStatusMessage.h"
//
//#include "msg/ResApplyMsgMessage.h"
//
//#include "msg/ResAddRecordMsgMessage.h"
//
//#include "msg/ResDelApplyMsgMessage.h"
//
//#include "msg/ResTeamInfoMessage.h"
//
//#include "msg/ResHirePlayerListMessage.h"
//
//#include "msg/ResGangPlayerInfosMessage.h"
//
//#include "msg/ResReCommListMessage.h"
//
//#include "msg/ResServerHradMessage.h"
//
//#include "msg/ResInviteTeamInfoMessage.h"
//
//#include "msg/ResConnGameServerMessage.h"
//
//#include "msg/ResMatchingPlayerMessage.h"
//
//#include "msg/ResWulinPlayerInfoMessage.h"
//
//#include "msg/ResWulinPickoutMessage.h"
//
//#include "msg/ResAllActivityMessage.h"
//
//#include "msg/ResYaoJiangItemMessage.h"
//
//#include "msg/ResChouJiangGoodsMessage.h"
//
//#include "msg/ResActivityGoodsMessage.h"
//
//#include "msg/ResSevenPayDayMessage.h"
//
//#include "msg/ResOneActivityGoodsMessage.h"
//
//#include "msg/ResKungfuBackMessage.h"
//
//#include "msg/ResUpGridMessage.h"
//
//#include "msg/ResOpenJingmaiActivityMessage.h"
//
//#include "msg/ResGMmsgMessage.h"
//
//#include "msg/ResUpKungfuInfoMessage.h"
//
//#include "msg/ResOpenGemsLevelActivityMessage.h"
//
//#include "msg/ResUpKungfuInfosMessage.h"
//
//#include "msg/ResXiLianBuyTimesMessage.h"
//
//#include "msg/ResOtherKungfuMessage.h"
//
//#include "msg/ResOpenVIPActivityMessage.h"
//
//#include "msg/ResUpSelfKungfuInfoMessage.h"
//
//#include "msg/ResOpenLuckRankMessage.h"
//
//#include "msg/ResSelfKungfuBackMessage.h"
//
//#include "msg/ResOpenGrowUpFundMessage.h"
//
//#include "msg/ResOpenTotalBuyMessage.h"
//
//#include "msg/ResChangeKungfuInfoAttachLevelMessage.h"
//
//#include "msg/ResUpSelfKungfuInfosMessage.h"
//
//#include "msg/ResOpenLuckMessage.h"
//
//#include "msg/ResOpenNewGuy7ActivityMessage.h"
//
//#include "msg/ResGetFullActivityInfoMessage.h"
//
//#include "msg/ResOpenNewGuy7ExtraRewardMessage.h"
//
//#include "msg/ResUpNewGuy7RewardBeansMessage.h"
//
//#include "msg/ResGetReviewStatusMessage.h"
//
//#include "msg/ResUpNewGuy7ExtraRewardMessage.h"
//
//#include "msg/ResPlayMoneyMessage.h"
//
//#include "msg/ResPayCardEnabledMessage.h"
//
//#include "msg/ResPlaySuccessMessage.h"
//
//#include "msg/ResAttbuteMessage.h"
//
//#include "msg/ResVersionMessage.h"
//
//#include "msg/ResUserCodeMessage.h"
//
//#include "msg/ResReceiveMailsMessage.h"
//
//#include "msg/ResMailsMessage.h"
//
//#include "msg/ResSucceedMessage.h"
//
//#include "msg/ResMsgMessage.h"
//
//#include "msg/ResAttbuteUpMessage.h"
//
//#include "msg/ResMarqueeMessage.h"
//
//#include "msg/ResPlayerInfoMessage.h"
//
//#include "msg/ResFailureMessage.h"
//
//#include "msg/ResMsgContentMessage.h"
//
//#include "msg/ResGangInfoMessage.h"
//
//#include "msg/ResMyMemberMessage.h"
//
//#include "msg/ResGangListsMessage.h"
//
//#include "msg/ResGangAttbutsMessage.h"
//
//#include "msg/ResDelMemberMessage.h"
//
//#include "msg/ResGangFightRankMessage.h"
//
//#include "msg/ResGangRankListMessage.h"
//
//#include "msg/ResServerHradMessage.h"
//
//#include "msg/ResPlayerWearEquipMessage.h"
//
//#include "msg/ResEnterListMessage.h"
//
//#include "msg/ResCaozuoMessage.h"
//
//#include "msg/ResGangFightInfosMessage.h"
//
//#include "msg/ResPlayMessage.h"
//
//#include "msg/ResItemsMessage.h"
//
//#include "msg/ResMMWarehouseMessage.h"
//
//#include "msg/ResUpEquiMessage.h"
//
//#include "msg/ResFightMMLogMessage.h"
//
//#include "msg/ResEquipInfosMessage.h"
//
//#include "msg/ResRanAptitudeMessage.h"
//
//#include "msg/ResSendGangNO1Message.h"
//
//#include "msg/ResOtherEquipMessage.h"
//
//#include "msg/ResHeartMessage.h"
//
//#include "msg/ResFiveStarMessage.h"
//
//#include "msg/ResItemInfoMessage.h"
//
//#include "msg/ResEquipListMessage.h"
//
//#include "msg/ResSubstituteMessage.h"
//
//#include "msg/ResEverydayEquipMessage.h"
//
//#include "msg/ResErrorMessage.h"
//
//#include "msg/ResUpTokenMessage.h"
//
//#include "msg/ResDelGoodsMessage.h"
//
//#include "msg/ResOtherWearTokenMessage.h"
//
//#include "msg/ResWearTokenMessage.h"
//
//#include "msg/ResXiLianAttsMessage.h"
//
//#include "msg/ResShowAnJEquipMessage.h"
//
//

map<int, Message*> MessageManager::id2message;

void MessageManager::init()
{
}

Message* MessageManager::getMsg(int id)
{
	if(id==115201) {
		return new ResAllTasksMessage();
	}
	if(id==115203) {
		return new ResAllTasksV2Message();
	}
	if(id==115202) {
		return new ResUpTasksMessage();
	}
	if(id==115205) {
		return new ResPunishSwapInfosMessage();
	}
	if(id==115204) {
		return new ResUpTasksV2Message();
	}
	if(id==104201) {
		return new ResSmeltEquipMessage();
	}
	if(id==114201) {
		return new ResRankingInfosMessage();
	}
	if(id==103201) {
		return new ResResultMessage();
	}
	if(id==103203) {
		return new ResFightStatiMessage();
	}
	if(id==103202) {
		return new ResOffLineResultMessage();
	}
	if(id==103205) {
		return new ResShaoDangResultMessage();
	}
	if(id==103204) {
		return new ResMatchingResultMessage();
	}
	if(id==103207) {
		return new ResPlayerFightLogMessage();
	}
	if(id==103206) {
		return new ResAllFightLogMessage();
	}
	if(id==103209) {
		return new ResYWFightResultMessage();
	}
	if(id==103208) {
		return new ResMenPaiFightLogMessage();
	}
	if(id==103211) {
		return new ResWorldBossResultMessage();
	}
	if(id==103210) {
		return new ResFightBossRateMessage();
	}
	if(id==103213) {
		return new ResWorldBossInfoMessage();
	}
	if(id==103212) {
		return new ResWorldBossRankMessage();
	}
	if(id==103214) {
		return new ResPlayerWulinFightLogMessage();
	}
	if(id==113201) {
		return new ResTitlesMessage();
	}
	if(id==113203) {
		return new ResUpTitleMessage();
	}
	if(id==113202) {
		return new ResWearTitleMessage();
	}
	if(id==113205) {
		return new ResOtherWerarTitleMessage();
	}
	if(id==113204) {
		return new ResWearUpMessage();
	}
	if(id==113206) {
		return new ResActivityTitleMessage();
	}
	if(id==102201) {
		return new ResOtherPlayerMessage();
	}
	if(id==102203) {
		return new ResPropUseNumMessage();
	}
	if(id==102202) {
		return new ResGuaJiSetingMessage();
	}
	if(id==102205) {
		return new ResUpFirstPlayMessage();
	}
	if(id==102204) {
		return new ResRefrensTimeMessage();
	}
	if(id==102207) {
		return new ResPlayerBuffsMessage();
	}
	if(id==102206) {
		return new ResPassLvGiftMessage();
	}
	if(id==102209) {
		return new ResServerOpenDayMessage();
	}
	if(id==123201) {
		return new ResOpenStateMessage();
	}
	if(id==102208) {
		return new ResOtherStatusMessage();
	}
	if(id==102211) {
		return new ResYaowangBuffIdsMessage();
	}
	if(id==102210) {
		return new ResSevenLoginInfoMessage();
	}
	if(id==123202) {
		return new ResUpStateSkillInfoMessage();
	}
	if(id==102212) {
		return new ResGetFlagForUserGuideMessage();
	}
	if(id==112201) {
		return new ResDelTokenMessage();
	}
	if(id==101201) {
		return new ResPPLoginMessage();
	}
	if(id==101203) {
		return new ResGetUsernamesOnAccountMessage();
	}
	if(id==101202) {
		return new ResServerLvMessage();
	}
	if(id==122201) {
		return new ResPlayerBufsMessage();
	}
	if(id==122202) {
		return new ResUpBufMessage();
	}
	if(id==111201) {
		return new ResSellGoodsMessage();
	}
	if(id==111203) {
		return new ResRefrenseDollarMessage();
	}
	if(id==111202) {
		return new ResExchangeGoodsMessage();
	}
	if(id==121201) {
		return new ResMiningMessage();
	}
	if(id==121203) {
		return new ResYaoWangRankMessage();
	}
	if(id==121202) {
		return new ResMiningAddresssMessage();
	}
	if(id==121204) {
		return new ResMiningAddressTimeMessage();
	}
	if(id==110201) {
		return new ResSoloAreaMessage();
	}
	if(id==110203) {
		return new ResOnePlayerUpMessage();
	}
	if(id==110202) {
		return new ResAreaMatchingMessage();
	}
	if(id==110205) {
		return new ResFirstMenpaiMessage();
	}
	if(id==110204) {
		return new ResMenPaiMatchingMessage();
	}
	if(id==110207) {
		return new ResUpAreaFightLogsMessage();
	}
	if(id==110206) {
		return new ResAreaFightLogsMessage();
	}
	if(id==106110) {
		return new ResMsgCodeMessage();
	}
	if(id==110209) {
		return new ResWulinRankMessage();
	}
	if(id==110208) {
		return new ResWulinFight1Message();
	}
	if(id==110210) {
		return new ResWulinFight2Message();
	}
	if(id==120201) {
		return new ResJingMaiInfoMessage();
	}
	if(id==201103) {
		return new ResNoticeMessage();
	}
	if(id==201102) {
		return new ResServerListMessage();
	}
	if(id==109201) {
		return new ResAreaMessage();
	}
	if(id==105110) {
		return new ResBackpackItemMessage();
	}
	if(id==119201) {
		return new ResFriendsListMessage();
	}
	if(id==119203) {
		return new ResAddFriendMessage();
	}
	if(id==119202) {
		return new ResDelFriendMessage();
	}
	if(id==119205) {
		return new ResUpApplyMsgStatusMessage();
	}
	if(id==119204) {
		return new ResApplyMsgMessage();
	}
	if(id==119207) {
		return new ResAddRecordMsgMessage();
	}
	if(id==119206) {
		return new ResDelApplyMsgMessage();
	}
	if(id==108201) {
		return new ResTeamInfoMessage();
	}
	if(id==119209) {
		return new ResHirePlayerListMessage();
	}
	if(id==204203) {
		return new ResGangPlayerInfosMessage();
	}
	if(id==119208) {
		return new ResReCommListMessage();
	}
	if(id==204202) {
		return new ResServerHradMessage();
	}
	if(id==108203) {
		return new ResInviteTeamInfoMessage();
	}
	if(id==204201) {
		return new ResConnGameServerMessage();
	}
	if(id==108202) {
		return new ResMatchingPlayerMessage();
	}
	if(id==204205) {
		return new ResWulinPlayerInfoMessage();
	}
	if(id==204204) {
		return new ResWulinPickoutMessage();
	}
	if(id==118201) {
		return new ResAllActivityMessage();
	}
	if(id==118203) {
		return new ResYaoJiangItemMessage();
	}
	if(id==118202) {
		return new ResChouJiangGoodsMessage();
	}
	if(id==118205) {
		return new ResActivityGoodsMessage();
	}
	if(id==118204) {
		return new ResSevenPayDayMessage();
	}
	if(id==118206) {
		return new ResOneActivityGoodsMessage();
	}
	if(id==107201) {
		return new ResKungfuBackMessage();
	}
	if(id==107203) {
		return new ResUpGridMessage();
	}
	if(id==118211) {
		return new ResOpenJingmaiActivityMessage();
	}
	if(id==203201) {
		return new ResGMmsgMessage();
	}
	if(id==107202) {
		return new ResUpKungfuInfoMessage();
	}
	if(id==118210) {
		return new ResOpenGemsLevelActivityMessage();
	}
	if(id==107205) {
		return new ResUpKungfuInfosMessage();
	}
	if(id==118213) {
		return new ResXiLianBuyTimesMessage();
	}
	if(id==107204) {
		return new ResOtherKungfuMessage();
	}
	if(id==118212) {
		return new ResOpenVIPActivityMessage();
	}
	if(id==107207) {
		return new ResUpSelfKungfuInfoMessage();
	}
	if(id==118215) {
		return new ResOpenLuckRankMessage();
	}
	if(id==107206) {
		return new ResSelfKungfuBackMessage();
	}
	if(id==118214) {
		return new ResOpenGrowUpFundMessage();
	}
	if(id==118217) {
		return new ResOpenTotalBuyMessage();
	}
	if(id==107209) {
		return new ResChangeKungfuInfoAttachLevelMessage();
	}
	if(id==107208) {
		return new ResUpSelfKungfuInfosMessage();
	}
	if(id==118216) {
		return new ResOpenLuckMessage();
	}
	if(id==118219) {
		return new ResOpenNewGuy7ActivityMessage();
	}
	if(id==118218) {
		return new ResGetFullActivityInfoMessage();
	}
	if(id==118221) {
		return new ResOpenNewGuy7ExtraRewardMessage();
	}
	if(id==118220) {
		return new ResUpNewGuy7RewardBeansMessage();
	}
	if(id==118223) {
		return new ResGetReviewStatusMessage();
	}
	if(id==118222) {
		return new ResUpNewGuy7ExtraRewardMessage();
	}
	if(id==117201) {
		return new ResPlayMoneyMessage();
	}
	if(id==117203) {
		return new ResPayCardEnabledMessage();
	}
	if(id==117202) {
		return new ResPlaySuccessMessage();
	}
	if(id==106201) {
		return new ResAttbuteMessage();
	}
	if(id==202202) {
		return new ResVersionMessage();
	}
	if(id==202201) {
		return new ResUserCodeMessage();
	}
	if(id==106203) {
		return new ResReceiveMailsMessage();
	}
	if(id==106202) {
		return new ResMailsMessage();
	}
	if(id==106205) {
		return new ResSucceedMessage();
	}
	if(id==106204) {
		return new ResMsgMessage();
	}
	if(id==102111) {
		return new ResAttbuteUpMessage();
	}
	if(id==106207) {
		return new ResMarqueeMessage();
	}
	if(id==102110) {
		return new ResPlayerInfoMessage();
	}
	if(id==106206) {
		return new ResFailureMessage();
	}
	if(id==106208) {
		return new ResMsgContentMessage();
	}
	if(id==116201) {
		return new ResGangInfoMessage();
	}
	if(id==116203) {
		return new ResMyMemberMessage();
	}
	if(id==116202) {
		return new ResGangListsMessage();
	}
	if(id==116205) {
		return new ResGangAttbutsMessage();
	}
	if(id==116204) {
		return new ResDelMemberMessage();
	}
	if(id==116207) {
		return new ResGangFightRankMessage();
	}
	if(id==116206) {
		return new ResGangRankListMessage();
	}
	if(id==201203) {
		return new ResServerHradMessage();
	}
	if(id==105201) {
		return new ResPlayerWearEquipMessage();
	}
	if(id==116209) {
		return new ResEnterListMessage();
	}
	if(id==201202) {
		return new ResCaozuoMessage();
	}
	if(id==116208) {
		return new ResGangFightInfosMessage();
	}
	if(id==201201) {
		return new ResPlayMessage();
	}
	if(id==105203) {
		return new ResItemsMessage();
	}
	if(id==116211) {
		return new ResMMWarehouseMessage();
	}
	if(id==105202) {
		return new ResUpEquiMessage();
	}
	if(id==116210) {
		return new ResFightMMLogMessage();
	}
	if(id==105205) {
		return new ResEquipInfosMessage();
	}
	if(id==105204) {
		return new ResRanAptitudeMessage();
	}
	if(id==116212) {
		return new ResSendGangNO1Message();
	}
	if(id==105207) {
		return new ResOtherEquipMessage();
	}
	if(id==101111) {
		return new ResHeartMessage();
	}
	if(id==201204) {
		return new ResFiveStarMessage();
	}
	if(id==105206) {
		return new ResItemInfoMessage();
	}
	if(id==105209) {
		return new ResEquipListMessage();
	}
	if(id==101113) {
		return new ResSubstituteMessage();
	}
	if(id==105208) {
		return new ResEverydayEquipMessage();
	}
	if(id==101112) {
		return new ResErrorMessage();
	}
	if(id==105211) {
		return new ResUpTokenMessage();
	}
	if(id==105210) {
		return new ResDelGoodsMessage();
	}
	if(id==105213) {
		return new ResOtherWearTokenMessage();
	}
	if(id==105212) {
		return new ResWearTokenMessage();
	}
	if(id==105215) {
		return new ResXiLianAttsMessage();
	}
	if(id==105214) {
		return new ResShowAnJEquipMessage();
	}
	return NULL;
}

